<?php Config::set_slot('title', htmldecode($actualite->getTitre())) ?>
<?php add_css(Config::get_slot('root', '') . 'css/actualite.css')?>
<div id="article">
    <h1 class="titre"><?php echo $actualite->getTitre() ?></h1>
    <div class="image">
        <img src="<?php echo Config::get_slot('root', '') . $actualite->getImage() ?>" alt="article_image" />
    </div>
    <div class="header">
        <?php echo $actualite->getDate_creation()->format("d/m/Y")." -- ".$actualite->getAssociation() ?>
    </div>
	<div class="contenu">
		<p class="teaser">
			<?php echo get_teaser($actualite->getContenu()) ?>
		</p>
		<p class="body">
			<?php echo get_body($actualite->getContenu()) ?>
		</p>
	</div>
    <div class="tags clear">
        <hr />
        <span>Tags: </span>
        <?php foreach (split_tags($actualite->getTags()) as $tag): ?>
            <a href="<?php echo link_to('actualite/tag.html?tag=', trim($tag)) ?>"><?php echo trim($tag)?></a>
        <?php endforeach; ?>
    </div>
    <a href="<?php echo link_to('actualite/index.html') ?>" class="bouton retour">Retour</a>
</div>
